/* Base */
/* #push.height = -#content-sans-footer.margin-bottom = #footer.margin-top + ul.footer-content */
body,
html {
    height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Baskerville, Garamond, Georgia, 'DejaVu Serif', 'Times New Roman', Times, Serif;
    font-weight: normal;
}
h1 small, h1 a, h1 a:hover,
h2 small, h2 a, h2 a:hover,
h3 small, h3 a, h3 a:hover,
h4 small, h4 a, h4 a:hover,
h5 small, h5 a, h5 a:hover,
h6 small, h6 a, h6 a:hover {
    color: inherit;
    text-decoration: none;
}
a {
    color: #3875d7;
}
hr {
    border-width: 3px;
}

/* site title */
.site-name {
    font-family: 'Monaco', 'Inconsolata', 'Andale Mono', 'Lucida Console', 'Bitstream Vera Sans Mono', 'Courier New', Courier, Monospace;
}

/* Footer */
#footer {
    border-top: 1px solid  rgba(0, 0, 0, .2);
    font: .8em Calibri, Tahoma, Arial, Sans-Serif;
    margin: 15px 0 0 0;
    padding: 0;
}
ul.footer-content {
    list-style: none;
    margin: -1px 0 0 0;
    padding: 2px 5px 0;
    display: table;
    height: 45px;
    width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
ul.footer-content li {
    padding-left: 5px;
    display: table-cell;
    vertical-align: middle;
    height: 100%;
}
.elegant-power {
    text-align: right;
}
.elegant-license {
    text-align: left;
}
.elegant-subtitle {
    text-align: left;
}

/* Syntax Highlight */
table {
    table-layout: fixed;
    width: 100%;
}
td {
    vertical-align: top;
}
@media (max-width:979px) {
    .linenos {
        display:none !important;
    }
}
.linenos {
    width: 50px;
}
.linenos div pre {
    text-align: right;
    overflow: hidden;
}
pre {
    overflow: auto;
    white-space: pre;
    word-break: normal;
    word-wrap: normal;
}
td.code .highlight pre {
    border-radius: 0 3px 3px 0;
}
td.code {
    width: 100%;
}
.linenodiv pre {
    background-color: #eee8d5;
    border-radius: 3px 0 0 3px;
    color: #657b83;
}
div.highlight {
    margin-bottom: 20px;
}
/* Tags */
.list-of-tags {
    font-family: 'Helvetica Neue', Helvetica, Arial, Sans-Serif;
    list-style: none;
    margin: 0;
    overflow: hidden;
}
.list-of-tags li {
    float: left;
    line-height: 28px;
    margin: 0;
}
.list-of-tags a {
    background: #EEE;
    border-radius: 3px;
    color: #222;
    margin: 2px;
    padding: 3px 6px;
    text-decoration: none;
}
.list-of-tags a span {
    font-size: .8em;
    vertical-align: super;
}

.list-of-tags{
    padding-left: 0px;
}

.tags-in-article li {
    float: none;
    line-height: 28px;
}
.tag-title {
    font-family: 'Trebuchet MS', Trebuchet, 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, Sans-Serif;
}
.articles-in-tag li {
    font: 1.1em/1.6em 'Trebuchet MS', Trebuchet, 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, Sans-Serif;
}
/* Article */
.article-content, div.recent-posts p {
    font: 1.2em/1.6em 'PT Serif', Georgia, 'Times New Roman', Times, Serif;
    text-align: justify;
}
.article-content {
    max-width: 50em;
}
.article-content p, div.recent-posts p {
    font-size: inherit;
    font-variant: normal;
    line-height: 1.6em;
    text-transform: none;
}
.article-content p {
    margin: 20px 0;
}
.article-content blockquote {
    border-left: 0;
    margin: 20px 0 0 2em;
    padding: 0 0 0 20px;
}
.article-content blockquote:before {
    color: #646464;
    content: '\f10d';
    font: 18px FontAwesome;
    font-style: normal;
    font-weight: normal;
    margin-left: -2em;
    text-decoration: inherit;
    position:absolute;
}
.article-content blockquote {
    font-family: 'Helvetica Neue', Helvetica, Arial, Sans-Serif;
    font-size: inherit;
    font-variant: normal;
    line-height: 1.7em;
    text-transform: none;
    font-weight: 300;
    position:relative;
}
.article-content ul:not(.related-posts-list):not(.articles-timeline) {
    font-size: inherit;
    list-style-type: disc;
    padding-left: 1em;
}
.article-content ul.related-posts-list {
    list-style-type: square;
}
.article-content ol {
    font-size: inherit;
    list-style-type: decimal;
    padding-left: 1em;
}
.article-content li {
    line-height: 1.7em;
    list-style-position: outside;
    margin: 1px 0 1px 20px;
}
.article-content dl {
    font-size: inherit;
    list-style-position: outside;
    list-style-type: decimal;
    margin: 20px 0 20px 20px;
}
.article-content dd {
    line-height: 1.7em;
    margin: 1px 0 1px 20px;
    padding: 3px 0;
}
.article-content dt {
    font-size: inherit;
}
.page-header {
    border-bottom: 1px solid #8f8686;
    color: #8B0000;
    padding: 0px;
}
.page-header h1 {
    font-size: 3em;
    font-weight: normal;
}
ul.articles-timeline {
    list-style: none;
    margin: 0;
    padding-bottom: 30px;
}
ul.articles-timeline .next-article {
    float: right;
    margin: 0;
}
ul.articles-timeline .previous-article  {
    float: left;
    margin: 0;
}
i.sidebar-social-links {
    border-radius: 20%;
    border: solid transparent 1px;
    color: #A2A2A2;
    font-size: 1.3em;
    margin: 0;
    padding: 1px;
    text-align: center;
    text-decoration: none;
    width: 12%;
}
i.sidebar-social-links:hover {
    background-color: #A2A2A2;
    color: #fff;
}
i.fa-twitter:hover, i.fa-twitter-square:hover {
    background-color: #00ACED;
}
i.fa-facebook:hover, i.fa-facebook-square:hover {
    background-color: #3B5998;
}
i.fa-google-plus:hover, i.fa-google-plus-square:hover {
    background-color: #D34836;
}
i.fa-adn:hover {
    background-color: #49484D;
}
i.fa-envelope:hover {
    background-color: #5E9EDA;
}
i.fa-github:hover, i.fa-github-square:hover, i.fa-github-alt:hover {
    background-color: #000;
}
i.fa-flickr:hover {
    background-color: #FF0084;
}
i.fa-youtube:hover, i.fa-youtube-square:hover, i.fa-youtube-play:hover {
    background-color: #BC272F;
}
i.fa-linkedin:hover, i.fa-linkedin-square:hover {
    background-color: #107FB9;
}
i.fa-gittip:hover {
    background-color: #663300;
}
i.fa-rss:hover, i.fa-rss-square:hover {
    background-color: #FF6600;
}
i.fa-bitbucket:hover, i.fa-bitbucket-square:hover {
    background-color: #205081;
}
i.fa-stack-exchange:hover {
    background-color: #3A7BC8;
}
ul.multi-parts-list a {
    color: black;
}
ul.multi-parts-list a:hover {
    text-decoration: none;
}
ul.multi-parts-list li.active-part {
    font-style: italic;
}
.table-of-content .toc {
    font-size: .7em;
}
.last-updated a {
    color: #333;
}
.last-updated a:hover {
    text-decoration: none;
}
.article-content img {
    border: 2px solid #EEE;
    padding: 5px;
}
p#post-share-links {
    text-align: right;
}
/* Perma link in article */
h1:hover > a.headerlink,
h2:hover > a.headerlink,
h3:hover > a.headerlink,
h4:hover > a.headerlink,
h5:hover > a.headerlink,
h6:hover > a.headerlink,
dt:hover > a.headerlink {
    text-decoration: none;
    visibility: visible;
}
a.headerlink {
    color: grey;
    padding-left: .5em;
    visibility: hidden;
}
/* Categories */
.list-of-categories span {
    font-size: .7em;
    vertical-align: super;
}
a.list-of-categories  {
    text-decoration: none;
}
ul.list-articles-category {
    list-style: none outside none;
    margin: 0 0 0 5px;
    padding-left: 0px;
}

ul.list-articles-category li {
    margin-bottom: 0.5em;
}

ul.list-articles-category li time {
    color: #8F8F8F;
    display: inline-block;
    font: .9em 'PT Sans', 'Helvetica Neue', Arial, Sans-Serif;
    width: 9em;
}

a.category-link {
    color: #333;
}
a.category-link:hover {
    text-decoration: none;
}
a.list-of-categories {
    font-family: 'Trebuchet MS', Trebuchet, 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, Sans-Serif;
    font-size: 1.1em;
}
a.list-of-categories:hover {
    background-color: #08c;
    border-radius: 4px;
    color: #FFF;
}
/* Archives */
ul.list-all-articles {
    list-style: none;
    margin: 0;
}
ul.list-all-articles li {
    border-bottom: 1px dotted #000;
    font-family: 'Trebuchet MS', Trebuchet, 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, Sans-Serif;
    font-size: 1.1em;
    padding: .3em 0;
    overflow: auto;
}
ul.list-all-articles li time {
    color: #AAA;
    float: right;
    font-family: 'PT Sans', 'Helvetica Neue', Arial, Sans-Serif;
    font-size: .9em;
}
div.blog-archives h2 {
    float: left;
    position: relative;
    margin:0;
}
div.blog-archives article {
    border-bottom: 1px dotted #AAA;
}
div.blog-archives article, div.recent-posts article {
    font-size: 1.1em;
    padding: .3em .2em;
    position: relative;
    overflow: hidden;
}
div.blog-archives article {
    margin-left: 6em;
}
div.blog-archives article.last-entry-of-year {
    margin-bottom: 1em;
}
div.blog-archives time, div.recent-posts time {
    float: right;
    text-align: right;
}
div.blog-archives time, div.recent-posts time, div.recent-posts section {
    color: #8F8F8F;
    font: .9em 'PT Sans', 'Helvetica Neue', Arial, Sans-Serif;
}
div.recent-posts section a {
    color: inherit;
    padding-left: .3em;
}
div.recent-posts section a:hover {
    border-bottom: 1px dashed;
    text-decoration: none;
}
div.recent-posts time {
     font-size: inherit;
}
div.recent-posts-time {
    display: inline;
}
@media (max-width: 767px) {
    div.blog-archives h2 {
        float: none;
    }
    div.blog-archives article {
        margin-left: 0;
        padding-left: 0;
    }
    div.recent-posts time {
        float: none;
    }
    div.recent-posts-time {
        display: block;
    }
    ul.list-articles-category li time {
        width: 100%;
    }
}


/* Use following classes to add floating images to your post */
div.figure, .article-content img {
    text-align: center;
}
div.figure img {
    width: 100%;
}
div.figure p.caption {
    color: gray;
    font-size: .6em;
    margin: 0;
}
div.figure p.caption a {
    border: none;
    color: gray;
}
div.figure.align-right, .article-content img.align-right {
    float: right;
    margin-left: 1.5em;
}
div.figure.align-left, .article-content img.align-left {
    float: left;
    margin-right: 1.5em;
}

